package com.yc.behavioral.template;

/**
 * 模板抽象类
 */
public abstract class AbstractTemplate {

	protected abstract void step1();
	protected abstract void step2();
	protected abstract void step3();

	public final void executeStep() {
		this.step1();
		this.step2();
		this.step3();
	}
}
